<?php
/**
 * Created by PhpStorm.
 * User: zhaojunlike
 * Date: 2016/12/2
 * Time: 16:37
 */

namespace Admin\Controller;


use Think\Controller;

/**
 * Class AdminController
 * @package Admin\Controller
 */
class AdminController extends Controller
{

    protected function _initialize()
    {
        $this->checkAdminLogin();
    }

    private function checkAdminLogin()
    {
        $adminId = session('admin_user_id');
        if (!$adminId) {
            //redirect(U('public/login'));
        }
    }
}